package top.hongthorn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 航母主表
 * </p>
 *
 * @author 泓宇网络科技工作室
 * @since 2023-12-28 00:45:56
 */
@Data
@TableName("aircraft_carrier")
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "AircraftCarrier对象", description = "航母主表")
public class AircraftCarrier implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "aircraft_carrier_id", type = IdType.AUTO)
    private Integer aircraftCarrierId;

    @ApiModelProperty("舷号")
    @TableField("port_number")
    private String portNumber;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("全长")
    @TableField("overall_length")
    private Double overallLength;

    @ApiModelProperty("建造年代")
    @TableField("age_of_construction")
    private String ageOfConstruction;

    @ApiModelProperty("排水量")
    @TableField("displacement")
    private Integer displacement;

    @ApiModelProperty("级别")
    @TableField("rank")
    private String rank;

    @ApiModelProperty("吃水深度")
    @TableField("draught")
    private Integer draught;

    @ApiModelProperty("航速")
    @TableField("carrier_speed")
    private Double carrierSpeed;

    @ApiModelProperty("续航力")
    @TableField("endurance")
    private String endurance;

    @ApiModelProperty("功率")
    @TableField("power")
    private Integer power;

    @ApiModelProperty("母港")
    @TableField("home_port")
    private String homePort;

    @ApiModelProperty("搭载导弹")
    @TableField("missile")
    private String missile;

    @ApiModelProperty("搭载火炮")
    @TableField("gun")
    private String gun;

    @ApiModelProperty("雷达")
    @TableField("radar")
    private String radar;

    @ApiModelProperty("指挥员")
    @TableField("commander")
    private String commander;

}
